package com.lich.service;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.lich.dao.ClientLoginMapper;
import com.lich.entity.AppError;
import com.lich.entity.ClientLogin;

@Service
public class ClientService {
	@Resource
	ClientLoginMapper clientMapper;
	/**
	 * @description 添加客户端信息
	 * @date 2016年8月29日
	 * @author lich-thinkpad
	 * @param client
	 * @return
	 */
	public int add(ClientLogin clientLogin){
		return clientMapper.insert(clientLogin);
	}
	
	public int addList(List<ClientLogin> clients) {
		return clientMapper.insertList(clients);
	}
}
